html {
    background-color: #dfdcc8;
	min-height:100%;
	position:relative;
}/* make sure it is at least as tall as the viewport */

body
{
    background-color: #dfdcc8;
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Verdana,sans-serif;
	background: #EFEFEF;
	width: 100%;
	height: 100%;
	min-height: 800px;
}

#page
{
/* 	margin-top: 5px; */
	margin-bottom: 5px;
	background: white;
	border: 1px solid #C9E0ED;
	width: 100%;
	min-width: 800px;
	
	height: 100%;
	min-height: 800px;
	
	position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
/*     overflow:hidden; */
    background-color: #e1dfd5;
/*     z-index:-1; */
}

/*
#header
{
	margin: 0;
	padding: 0;
	border-top: 3px solid #C9E0ED;
}
*/

#text {
	background-color: #e1dfd5;
	margin: 0px;
	position: static;
/* 	width: 100%; */
	padding: 20px;
	
	height: 100%;
	min-height: 800px;
}

#content
{
    background-color: #dfdcc8;
	border-width: 2px;
	border-color: rgb( 176, 169, 154 );
	border-style: solid;
	-webkit-border-radius: 5px;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius: 5px;
	-moz-border-radius-topright: 0;
	border-radius: 5px;
/* 	border-top-right-radius: 0; */
/* 	border-right: none; */
	background-color: rgb( 223, 220, 200 );
	padding: 10px;
/* 	height: 100%; */
	min-height: 800px;
}

#2_column_content {
	width: 100%;
	min-width: 990px;
	background-color: rgb( 223, 220, 200 );
	height: 100%;
	min-height: 800px;
}

#sidebar
{
	padding: 129px 0px 20px 0;
	margin-left: -30px;
	margin-top: 20px;
	background-color: #dfdcc8;
	border-width: 2px;
	border-color: rgb( 176, 169, 154 );
	border-style: solid;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	background-color: rgb( 223, 220, 200 );
/* 	border-left: 1px solid red; */
	border-left: none;
	height: 100%;
	min-height: 800px;
}

#footer
{
	padding: 10px;
	margin: 10px 20px;
	font-size: 0.8em;
	text-align: center;
	border-top: 1px solid #C9E0ED;
}

#logo
{
	padding: 10px 20px;
	font-size: 200%;
}

#mainmenu
{
	background-color: rgb( 74, 41, 41 );
	min-width: 600px;
	width: 100%;
	height: 30px;
}

#mainmenu ul
{
	margin: 0px;
	height: 30px;
}

html body div#page.container div#mainmenu ul#yw0, html body div#page.container div#mainmenu ul#yw1 {
	padding: 0px;
}

#mainmenu ul li
{
	display: block; /* width and heigth will be ignored if the elements are inline */
	float: left; /* float the elements left, otherwise they will be vertical positioned */
	height: 30px;
	width: 100px;
}

#mainmenu ul li a
{
	font-size: 14px;
	font-family: "Verdana";
	color: rgb( 255, 253, 233 );
	text-align: center;	
	text-decoration: none;
	height: 30px;
	width: 100px;
	display: block;
	float: left;
	padding-top: 6px;
}

/* active tab text*/
#mainmenu ul li a:hover, #mainmenu ul li.active a
{
	font-size: 14px;
	font-family: "Verdana";
	color: rgb( 1, 1, 1 );
	font-weight: bold;
	text-align: center;
	height: 30px;
	width: 100px;
	display: block;
	float: left;
	padding-top: 6px;
}

/* active tab */
html body div#page.container div#mainmenu ul li.active {
	background-color: rgb( 225, 223, 213 );
	height: 30px;
	width: 100px;	
}

/* hover */
#mainmenu ul li a:hover {
	background-color: rgb( 225, 223, 213 );
	height: 24px;
	width: 100px;
}

div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #C9E0ED;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
	padding-left: 24px;
	position: relative;
	top: 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

.portlet
{

}

.portlet-decoration
{
	padding: 3px 8px;
	background-color: rgb( 74, 41, 41 );
/* 	border-left: 5px solid #6FACCF; */
}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	font-family: "Verdana";
	color: rgb( 255, 253, 233 );
	padding: 0;
	margin: 0;
	height: 18px;
/* 	border-top: 1px solid #B0A99A; */
}

.portlet-content
{
	font-size:0.9em;
	margin: 0 0 15px 0;
	padding: 5px 8px;
	background-color:#e1dfd5;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font: bold 12px Arial;
	color: #0066A4;
	display: block;
	padding: 2px 0 2px 8px;
	line-height: 15px;
	text-decoration: none;
}

.operations li a:visited
{
	color: #0066A4;
}

.operations li a:hover
{
	background: #80CFFF;
}




/* LOGIN FORM */
#login_form {
	width: 300px;
}

.block {
	display: inline;
	float: left;
	background-color: rgb( 223, 220, 200 );

}

html body div#page.container div#text div#content div.form form#wine-form div.block {
    padding-top: 39px;
}

.block2 {
	float: left;
	padding-top: 9px;
    padding-left: 40px;
	background-color: rgb( 223, 220, 200 );
}

.block3 {
    float: none;
    padding-left: 1200px;
    padding-top: 4px;
    background-color: rgb( 223, 220, 200 );
}

.inner_block {
    margin-top: 40px;
}

html body div#page.container div#text div#yw0.ui-tabs {
	border-width: 2px;
	border-color: rgb( 176, 169, 154 );
	border-style: solid;
	-webkit-border-radius: 5px;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius: 5px;
	-moz-border-radius-topright: 0;
	border-radius: 5px;
/* 	border-top-right-radius: 0; */
/* 	border-right: none; */
	background-color: rgb( 223, 220, 200 );
}

html body div#page.container div#text div#yw0.ui-tabs {
    padding: 0px;
}

html body div#page.container div#text div#yw0.ui-tabs ul.ui-tabs-nav {
	background-color: rgb( 74, 41, 41 );
    background-image: none !important;
	border-radius: 0px !important;
    padding: 0px;
}

html body div#page.container div#text div#yw0.ui-tabs ul.ui-tabs-nav li.ui-state-default {
    background-color: rgb( 74, 41, 41 );
    background-image: none !important;
    margin-top: 10px;
    border: none;
    border-radius: 0px;

}

html body div#page.container div#text div#yw0.ui-tabs ul.ui-tabs-nav li.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
    font-size: 12px;
    font-weight: bold;
    color: #FFFDE9 !important;
}

html body div#page.container div#text div#yw0.ui-tabs ul.ui-tabs-nav li.ui-state-active {

    background-color: rgb( 223, 220, 200 );
}

html body div#page.container div#text div#yw0.ui-tabs ul.ui-tabs-nav li.ui-state-active a {
    font-size: 12px;
    font-weight: bold;
    color: #010101 !important;
}

html body div#page.container div#text div#yw0.ui-tabs ul.ui-tabs-nav {
    border-bottom: 1px solid rgb( 74, 41, 41 );;
}

html body div#page.container div#text div#yw0.ui-tabs div#yw0_tab_0.ui-tabs-panel {
	background-color: rgb( 223, 220, 200 );
}

html body div#page.container div#text div#yw0.ui-tabs {
	background-color: rgb( 223, 220, 200 );
}

.ui-widget-content {
  	background-color: rgb( 223, 220, 200 ) !important;
}

html body div#page.container div#text div#content div#image {
/* 	display: inline; */
	float: right;
}

html body div#page.container div#text div#content div#weineinblicke_address {
	float: right;
}

html body div#page.container div#text div#content div#image img {
	vertical-align: right;
	padding-left: 75px;
}

html body div#page.container div#text div#content div#image p {
	text-align: right;
} 

html body div#page.container div#text div#content h4#no_margin {
	margin-bottom: 1px;
}

html body div#page.container div#text div#content h3#no_margin {
	margin-bottom: 1px;
}

html body div#page.container div#text div#content div#summary_table {
	width: 30%;
	float: right;
}

html body div#page.container div#text div#content div#summary_table table tbody tr td {
	text-align: right;
}

html body div#page.container div#text div#content div#summary_table table tbody tr th {
	text-align: right;
}



html body div#page.container div#text div#content div#summary_table table tbody tr.sum td {
	border-top: 2px solid #B0A99A;
}

html body div#page.container div#text div#content div#summary_table {
	border: 2px solid #B0A99A;
	background-color: white;
}



.grid-view div.pager ul#yw0.yiiPager li.page a {
    border: 1px solid rgb( 74, 41, 41 );
    color: rgb( 74, 41, 41 );
}

.grid-view div.pager ul.yiiPager li.selected a {
    background-color: rgb( 74, 41, 41 );
    color: white !important;
}

.grid-view div.pager ul.yiiPager li.next a {
    border: 1px solid rgb( 74, 41, 41 );
    color: rgb( 74, 41, 41 );
}

.grid-view div.pager ul.yiiPager li.previous a {
    border: 1px solid rgb( 74, 41, 41 );
    color: rgb( 74, 41, 41 );
}

.grid-view div.pager ul.yiiPager li.hidden a {
    border: 1px solid #DEDEDE;
    color: #888888;
}

.grid-view table.items thead tr th a.sort-link:hover {
    text-decoration: underline;
}

html body div#page.container div#text div#content input#yt0 {
    text-indent:0;
    display:inline-block;
    color:#FFFDE9;
    font-family:Arial;
    font-size:12px;
    font-weight:bold;
    font-style:normal;
    height:35px;
    line-height:65px;
    background-color: rgb( 74, 41, 41 );
    color: #FFFDE9;
/*    width:131px;*/
    text-decoration:none;
    text-align:center;
    text-shadow:2px 2px 0px black;
    text-transform: uppercase;
}

html body div#page.container div#text div#content input#yt0:hover {
    text-decoration: underline;
}




html body div#page.container div#text div#content div.form form div.row input {
    font-family: Arial;
    font-size: 14px;
    border: 1px solid #B0A99A;
}

html body div#page.container div#text div#content div.form form div.row input:focus {
    border: 1px solid rgb( 74, 41, 41 );
}

html body div#page.container div#text div#content div.form form#wine-form div.row select option {
    font-size: 14px;
    text-align: left;
}

html body div#page.container div#text div#content div.form form#wine-form div.row select {
    font-size: 14px;
    text-align: left;
}

html body div#page.container div#text div#content div.form form#wine-form div.block2 div.row {
    margin-bottom: 10px;
}

html body div#page.container div#text div#content div.form form div div.row label {
    font-size: 12px;
}






html body div#page.container div#text div#yw0.ui-tabs div#yw0_tab_0.ui-tabs-panel div.form {
    min-height: 650px;
}

h3.error {
    color: red;
    font-weight: bold;
}



html body div#page.container div#text div#yw0.ui-tabs div#yw0_tab_0.ui-tabs-panel div.form form#wine-form div.block {
    padding-top: 9px;
}


html body div#page.container div#text div#content div.form form#customer-form div.block2 {
    padding-top: 50px;
}